All Questions
1 question
11votes
12answers
3kviews
Maintainability of Boolean logic - Is nesting if statements needed?
Which of these is better for maintainability? if (byteArrayVariable != null) if (byteArrayVariable .Length != 0) //Do something with byteArrayVariable OR if ((byteArrayVariable != null)...